Added possibility to add an image, and debug text show.