Moved the debug context down to the low level library as it may be used in more than just the scripting layer
Fixed function naming of mute to be more inline with javascript naming conventions