cleaned up log class
minor fixes