Having fun with readQuery
Small style changes.
Merge https://github.com/rexim/Loprog
Merge pull request #3 from yesyesyes/master

Refactored readQuery and made several small style changes.