Fix form position in RESULTS mode, html cleanup