added images for win/lose conditions
fixed waiting logic