Cleanup DOM when closing panes fixes the duplicate form issue (fixes iilab/openintegrity#41), the disappearing select issue (fixes iilab/openintegrity#40). Better handling of scrolling to anchor on page opening, removed other confusing scroll tos (fixes iilab/openintegrity#42).