starter script
set debug level from command line
close main window on login window closing
little more logging
enable webinspector from commandline