Query widget

Not quite ready for merge yet. Need to make a few more changes
This should be `matplotlib.rcParaml['backend.qt4'] = 'PyQt'`