Update for form.compute_form_data changes.
Minor bugfixes.
Add a lot of debugging printouts.
Add facet_orientation code generation.
Minor fix.