Stop using ActionManager.getActionManager
Add all the other required parameters.
Merge pull request #186 from greboid/tidying

Stop using ActionManager.getActionManager
Merge pull request #187 from csmith/master

Implement missing method.
Remove compile warnings.
Remove redundant casts.
Merge pull request #188 from greboid/tidying

Remove compile warnings.
Plugin support for styliser changes.