Viewlog now hides main window correctly when triggered on Sys_Error