Fix comparision bug, add log.

Right now things are going smooth. Using < 3MB RAM for my test video and runs in 0.01 seconds.

Obviously we're not outputting anything yet, but this is a good start.
Adding export session logic. Broken :(