Change entrance direction handling, etc.

Changed "starting_direction" to "entrance_direction" (which now refers
to the direction the player must be facing in order to walk through the
entrance), removed the superfluous "deinit_npc" function, and made a few
other minor changes.