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

Stop using ActionManager.getActionManager