Rotation and mouse creation

Smartgit still isn't cooperating with me, so I've manually updated the files. I think I got them all. Let me know if something isn't happy.