fixed bug in midi file export
refactoring - moved main window file handling methods to new file
tidy up
automatically create dir when exporting audio files
updated file export checking code
tidy up code
enable/disable widgets when midi file "export only" selected/deselected