gui-controller WIP: shrink control_util, move input_mode control updates to signal handler, factor out rbw option changes