Add ability to set default editor options.
Update documentation.