Improvements in zonedoor handling.
Merge branch 'test' into dev