issue-4: added tooltip generation for classes, added smarter pagination options, showing all failed queries as errors