Improved Door functions.
At lest I think it's an improvement.
No change in Game play, just code.