Fix bugs. This plugin didn't work because of incorrect includes.

Hi. I suppose, in there are were changes in the latest version of Q2A. So some functions were move between files. That's why your modifications didn't work. I've fixed includes.