Added mouse button listening

1. Also fixed bug in eat input in mainmenu.