lots of internal changes, template simplification, array field visual fixes, horizontal form fixes