Cleaning up code prior to decoding only visible segments

Change-Id: Ifa561f682a318955d6d424a0f2f3fbd71a9c8c6b
Fixed a bug that froze the application when refreshing a window out of turn when a PixelStream is open.

Change-Id: I654b40b4b24b9a64dda3d60cfa079b053ab8325b
Almost working, but decompressing image every frame if even if the sender stopped sending. Instead of adding another state boolean to remember which image was decoded, we will decode the images 'in place' in the queue of PixelStreamSegment.

Change-Id: Ie4d094c5d53516c58dd63aa89b1afa6da72a21b8