Improve meesage and image display, speed and usability.

how about extracting a function here so with a good name