Try to make queries appear synchronous.

- disable shell input on request start and re-enable on completion.
Also hide prompt when disabling input.
Remove erroneous import caused by bad merge.
Merge pull request #315 from glowe/fix-bad-merge

Remove erroneous import caused by bad merge.
Merge pull request #308 from glowe/looks-like-a-synchronous-query

Try to make queries appear synchronous.