Changed Ranger structure (use FF counter implementation); added timeouts to ranger operations to avoid infinte loops; made ranger signal and trigger pins accessible to all GPIO.