Refactoring the Dock opening/closing/resizing procedure.
Fixed changing the resolution/number of segments on-the-fly.
Merge branch 'streamingrefactoring' into demosprint1

Conflicts:
	apps/DesktopStreamer/src/MainWindow.cpp
	src/PixelStreamSegmentParameters.h
	src/lib/dcStream.cpp
	src/lib/dcStream.h