Got the DQM plugin to actually work. Some other minor changes too.