Properly handle different types of input expected in the parameters file
- don't leave everything as a string.
Bugfix: parameter file was mising a hash.
Now that wave file thread is working correctly and efficiently, remove
unbuffereed flag from file open.
Better error handling for WaveGenerator, unused (erroneous) import
removed from Parameters.
Better error handling for PrintThread as well.