Removed more stray characters and check_mouse function