Added background image, key config support and various bug fixes.

- Audio visualization thread now exits properly as the audio engine shuts down.
- Keysounds are now properly redirected to the appropriate mixer tracks.
- Fixed bug in autoplay that causes it to not play long notes properly.