Add boost gain option to microphone, also minor bug fixes (#6388)