add check for stereo input before recording, misc cleanup