Added ability to clear message history