made inputoutputranges more responsive to changes, hacked focusevents