Fixed several issues and improved config checks

See the change log for more details...