Modifications to the start of the GUI launching.
Much work is still needed to make this clean!
Authored by: bugman 2009-11-19
Parent: [r9886]
Child: [r9888]