Cleaned up the SGF parser.  Need to port these changes back to the client version.