Added threading. Added a Averange and Current value to the images.