temporary disable some code to make query tab work
Some common view functions moved to Query.py
Added refresh button for Data tab in TabTable