Collapse query details by default, improve overall style

Fix #574

Signed-off-by: Byron Ruth <b@devel.io>
Merge pull request #575 from cbmi/issue-574

Collapse query details by default, improve overall style