fixed some bugs.
Added door locking for boss fights.