simple whitespace changes
updating HTML
consolidating form output to a function
outputting more HTML directly rather than as a string