Added a clear button which clears the drawing
Code cleanup. Fixed few code indentation issues