Sound effects are now in stereo.
Extracted do_floodfill, playsound, draw_progressbar and RGB-to-linear functions.