Improving handling of console/zdoor for restored VM's.
Merge branch 'test' into dev