Removed obsolete comments and logs and added a cursor style to the canvas