code cleanup: remove old menu code