further revisions to the front page.

- basic housekeeping (eliminating redundant code)
- making it look nicer
- making unused textboxes disappear