Fixed #54.
Merge remote-tracking branch 'remotes/origin/WebserverRevision' into WebserverRevision
Getting the precinct id problem sorted out.
Fixed a casting problem on this branch.