Images: Fixed issue with old AJAX search requests replacing new ones
Fixed unicode filename and idempotence issues with show.py and cleaned up some redundant code