removed swap files
added a button to start saving images from window