Minor bug fixes

Added "(optional)" text to SAM/BAM label
reduced java heap allocation for BAM (so prevent memory problems)
check if tmp directory exists before trying to delete
make sorted gtf output file dialog a save dialog