Some Linux fixes; some code tidying. Don't redraw status bar so often.

9 files changed