Fix: Clear event handler cache when load/unloading plugin
Fix: Incorrect argument order in CroogoEventManager
Indentation fixes
Fix: Weight is null when adding a new block

Related to view refactoring where we unify add and edit views.
Closes #479