Option Window, Refactoring, config.xml parsing