Fixed 2 bugs.
If the window size was zero in any dimension, an exception was thrown on some macs.

Some linux computers would throw an IllegalArgumentException when loading the postol shot sound.