Changed some logic around to make keyboard movement "smoother".
Fixed a bug that would sometimes cause the client to freeze when an NPC ran out of messages to say.  This bug was especially prevalent with the recent changes to keyboard movement.