Added log class, working on fixing various issues with loop mode