Several bugfixes for the mintmenu

Fixes several bugs and changes the way to interact with the mintmenu.