added audio sample resource; simple WAV loader; bugfixes