Merge pull request #49 from adam-vessey/7.x

Fix logic to allow changing of Kakadu parameters.
Pass the object, to make it available to theming.