ui: menu & toolbar - added default code and test handlers.