Disabled prev/next geometry buttons within script.

This makes sense if geometry search is done more than once.
Purged remaining shapes if new features are loaded.
Hid #reduce form if new features are uploaded.

And the revert/submit button's visibility had to be updated.
The form logic makes sense now, all in all, but I'd still recommend a page
load. A bunch of code lines remain duplicate.