Working PutImage and refresh every 2s