Merge pull request #11 from MaPePeR/fix-last-imagediff

fixes #10, imagediff now uses the previous frame instead of the next frame.