Added docs to QueryFragment
Remove execute button from the query fragment.

Remove UI variables from QueryFragment internal state and add more JavaDoc.