Added ability to clear history