clean up menu code, remove rmMenuEntry event