Added more effective mouse handling and point drawing member function, other smaller changes