added cmd line arg to start with hidden main window