Better layout for many tables

Modifying the plot to show more tables nicely (table name rotate 90,
number of columns and record width on the graph and rotate 90)
Adding longer queries support