Adding collision detection for NPC dialogue, and removing some seemingly redundant collision detection code.