loading gui config from xml