Prefer compiler errors to runtime errors

Change XML event bindings
Fix null pointer exception

And reduce chance of other ones
Delete code that checks 'readonly' on a tree

This field is not used on OTM2
Move some strings around
Disable button when perms are not satisfied
Fix NPE and change method name to be more accurate