Added state in clientMain + stayOnTop attribute to window (messageBox)