move code

The welcome message is now more independent of the main window.