Improved mouse accuracy, added click detection