switched UnionJackLattice back to that painstakingly-tested C library I was talking about in the last commit