removes unused form processing code; populates form using form->set_data...

...; cleans up form definition()