Update menu.c

Implemented several behaviors inside the menu.

Few TODOs left.