More ignore patterns.
Simplify/consolidate handle_submit and querychange functions.