removed a lot of commented out code, per discussion with Jack. began to add checks for form submission.