Make sure all toolbar elements are disabled without a session

(and merge any require calls into one per class definition)

Fixes #709