ui/gtk: Simplify stream length stuff a little