Convert MainMenuItem from js to cs, and cleanups

Signed-off-by: Ken Barber <ken@bob.sh>