moved DecoderThread code into ImageView