Add hiding of main launcher frame

Added some code to hide the main launcher on launch
and to un-hide it on crash or quit