Fixed a bunch of stuff that really bothered me - also, tiny speedup on Maxwell, about 2-3H/s. Dunno about Fermi/Kepler.
Merge pull request #4 from wolf9466/master

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