made the quest loop be called when the level is created, and then quit when levelActive becomes false