Added query expand/shrink with pretty print and code highlighting for easy query debugging