Tried to fix cntrl-c bug, but it`s complicated.
Style modifications.
More clear and unified start.
Fixed cntr-c issue
Merge branch 'fixExit' into newApproach

Conflicts:
	src/programs/rdClient/RdClient.cpp