Implements support for a mouse drag handler
Fixes some minor bugs in sound API