Strange Initialization Bug Fix
app had to be restructured in order to not use the graph object as a global variable, I think this was causing the bug
app had to be restructured in order to not use the graph object as a global variable, I think this was causing the bug