Merge pull request #146 from mpeuster/master

Improved chain management in dummy gatekeeper.