Random bug fixes.

The sound tracking is for having NPCs' mouths move when talking. There's improvements to be made (such as game loop-based timing vs frame based timing), and the system for detecting sound amplitude isn't in yet (simply because I'm not sure how to go about that).