Don't think we need this now that Mega uses tempfile
cleaned up commented try/except block
Organised imports & switched log file handler to use tempfile
Added a formatter for the log file opposed to a date stamp when Mega is loaded.