Removed old comments.
Rewrote form submission function.