ImageViewer application window title

* Factorized and improvement of the code
Closes #17