UI changes in support of future configuration

Added ToXElement() method to PartProgram.
Added Configuration tab, with intent of providing a UI-based
configuration editor.