Added Comport selection, measurement position
Removed unused code