Code tidying.
Merge branch 'master' of https://github.com/benaston/NState