perf ui: Improve handling sigwinch a bit