Fix various warnings that don't have enough instances to merit individual commits. Also fixes a potential bug in audio_server.cpp.