Readded debug output
Fixes #185 Show resolution in ImagePreviewDialog