...when my running-program is closed, Lazarus fails to show the main window at the top that has the controls and Component Palette etc.