Added category details to the forms (though no functionality into XML and back yet) and made it so fields are transfered when an error occurs