Improved configuration handling, including a better defaults system.