added a clear button (and moved stuff to a toolbar)