Revamped logging and log utility stuff. Graphs now make sense.