Added layout viewer and image viewer.

Added layout viewer option to text editor menu when edit .xml files.
Added image viewer.