Move settings to an ftplugin file, style changes, expand the README, other tweaks.

See my commit messages for more details.