tweak the state-error variables for alerts
tweak the form field feedback states
update comments and tweak styles