Add initial support for XML gui configuration