Updated IDEA project
Small fix based on intuition

I don't know why or how it works, but it does.
Also, added a bunch of debug logging to ImageViewNext.