UI elements can now be loaded from XML definitions