Adds timer logging and some other stuff.