Finally! I’ve fixed a couple of things you mentioned:
The elevator now goes to where it’s supposed to
And now when the player dies, progress will be lost to the last saving point.
I’ll keep looking for the other bugs. Thanks again!