bugfixes in play_images, mostly working