Bunch of changes to headers, and begin fixing the wasapi backend