setup main GUI & started child forms. Migrated sample code