Add ability to modify config settings at runtime.
Fix exception when attempting to disconnect from IRC when not connected.
Fix compiler warning.
Add missing example settings.