Added support for other resource types.
Added support for playing audio files.
Added a better button click sound
Tiny code cleanup