Better QueryString handling.

This reduces the need for a floating `module` variable and simplifies the task of getting at the options.