Callback required, and fixed a bug in querysingleton
Merge pull request #110 from stealthycoin/fix_alex_merge

Callback required, and fixed a bug in querysingleton