Fix #4, get rid of flicker (hopefully)

* the side effect is that the file copy dialog doesn't show up anymore