Fix typo in default configuration file
Fix another typo in example configuration
Simplify and optimize schematic replacements
Fix typo in comment in chat.cpp