Added a lot of fixes for quest stuff