Bug Fixes

Fixed broken audio_* functions and graphics function parameters. Also
fixed some bugs in event inheritance.