make query-tree scrollable and resize when the window resizes
use bootstrap btn for buttons
use progress bar instead of spinner