level finisheds when key and all gems are collected or upon death