Set background when starting X.
Various minor modifications.