Fix lots of bugs for quests