implemented StrKeyDict for board.pins; simplified GhostBoard