Fix selection color

And misc other commits, will remove what you like. Sorry for 1 PR!