Fixed a bug in the XML formatter and made some changes to shadowComplete
Job add form almost complete