Only tangle/compile when needed.
Call toolbar/menubar/... mode functions only when defined.