added full MenuItem edit functionality, also a few minor cosmetic changes