Fix for "turn" command.

Adds check to ensure that it is somebody's turn. Other small changes.