Door opening refactored, now only one door can be opened at a moment (closes #32)