Found the culprit in the studentsheetupdate plugin. Bad idea to call a complex function in a property that is declared early.
Styling fixes.
Fixed a bug in the menu module. Custom menu entries now defaults to an empty object.