Bugfix to prevent a `NullPointerException` being thrown from EDT.

Added a check to see that the `BufferedImage` inputs do not contain
`null` when given to the constructor to prevent `NullPointerException`
being thrown when using the `run` method, thus an exception on the EDT.
Merge branch 'bugfix-nullpointerexception-on-show'