Added an error for qflist/buffer mismatch.

Fixes #2