more minor changes to niri_redux.py