[AE/osxsink] - bugfixes

This combines all the bugfixes i found during my last days excurse. I think those can be applied pretty quick - also i will rebase the other 2 PRs (channelmap and multistream devices) onto this PR. So ideally this one goes in before the others.