various trivial code cleanups. this version works.
Added some fancy remember features in the form using session cookie. Changed the way app handles empty fields.