implement field control, refactor menubar system