recording now works to WAV

gui buttons patched too