Delete unused permission code
Update IDE settings
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
Merge pull request #151 from steventlamb/topic/disable_buttons_without_perms

Topic/disable buttons without perms