Added a bunch of checks for nil values and the like, to minimize errors if something goes wrong with the install.
Fixed bug - if multiple versions of a chat channel are in DEFAULT_CHAT_CHANNELS, ChatSettings will remove the later ones. Fixes the clash between ChatSettings and pbInfo without having to wait for pbInfo =b