freenet-monitor: smarter window size handling