Added a the ability to render previews of images from within the GUI.