Removed several unused imports.
Fixed #20288 -- Fixed inconsistency in the naming of the popup GET parameter.

Thanks to Keryn Knight for the initial report and reviews,
and to tomask for the original patch.
Itty bitty typo fix.

"deletes" was missing it's last e.
Merge pull request #1287 from mintchaos/patch-1

Itty bitty typo fix.