Re-Written Config Import Processing

Hugely faster and not hanging system.
Also saves 13% in code space!