First attempt at state logging.
Merge branch 'master' of github.com:a-price/rubble