Improve status line refreshing