table2: added td params
admin settings: converted all form elements to array notation, code cleanup