some code clean up
added support for 'recent images'