Put MOTD window in own function for easy usage in other program.