-Some bug fixes in the form.
-The form parametters are being saved in calculateStats.