fix pause/quit bug ; improve deplay script