new function isImage and gui changes and improvements