mainloop no longer needs public key or hashes_per_check
Merge pull request #24 from adam-wayne/fix_mainloop

mainloop no longer needs public key or hashes_per_check