Destruct mainWindow pointer on gTorrent shutdown
Add debug log to Core::shutdown function
Add actual timestamp to log function