Bugfixes in array manipulation and HTML forms
More bugfixes in HTML forms