make menu functional (but bare)
using new python APIs everywhere.