changed handling of tabs, added a "tab-next" form element