removed the eventreceiver from menu.cpp and moved it to a separate file
(phil helped :-))