Form tweaks
DateTime bugfix
Fixed HTML non-matching tags in form
Fixed form history handling