updated message library to show status messages and react to window events