Configuration file parsing, numerous tweaks.