Fix statusline, add various improvements.