Updated COM interfaces to use uint.

Overhaul to scripting, to introduce "enums" and provide better support for a few more functions.

Also now uses LINQ correctly when querying the audio controller