Bunch of Fixes - mostly for tyriac
More fixes - version 3.6002
Merge pull request #1187 from waveney/wav31

Version 3.6002