Fix issue with recording pre-buffered audio. Now open and close audio input device when dropping in and out of record.
Just one file descriptor (not separate for record and replay).
Re-write header if not 44 bytes long (minimal header type)
Allow recording beyond end of file, extending as appropriate. TODO: Write new size to header.