oops, wave identifier put into reverse event handler by accident
added value dumps and timestamping for wave printing