Updated quest module

Fixes a few quest bugs.