Move GAudioInput to app singleton

Otherwise it can end up on wrong thread if you are unlucky.

Also includes a crashing bug fix in as