(main window) Prevent bad message displaying

On powerful computers, linking is already done
when the showEvent() is executed. To prevent
initialization of statusBar with InitialState
after linking was performed, call link() in the
showEvent() method