Removed error on empty exit message
Added saving of default format to file