Fix some php notices. Add support for new Settings section and add
base_url to settings. Also tweak CkEditor settings.