Added throughput graph and minor fixes to mainwindow