message history and smilieys, some fixes