Added delta logging, fixed setup.py and sped up hot loop.