Fixes behavior when WAV files aren't found.

Previously it'd just give an error message but not actually abort. Now it does the same as loadOGG does.
Removed redundant case.

The if just before already excluded that possibility.
Forgot to add the { } to the now 2-line if-block.

Silly me.
Merge pull request #183 from CIB/cleanup

Various code cleanups