Fixed bug where welcome message sent flag was not set