Cleanup main menu
Added more comments
Trying EventEmitter