fix deadlock when graphs are too big, closes #48
set max width for graph to 5000 to avoid out of memory by graph request