Fixed bug where you could only open the graphing window once, subsequent attempts would crash everything.