Fixed a bunch of stuff that really bothered me - also, tiny speedup on M...

...axwell, about 2-3H/s. Dunno about Fermi/Kepler.