Added a clear button, touch support, smooth drawing, better mouse buffer behavior