start services before showing main window