Fixed some issues with NPC collision detection; initial work on quest stuff.