Removed linegraph-specific globals

* Added a logical array of data placeholders for each GUI widget
Merge pull request #3 from PaulMontgomery/remove_glob

Removed linegraph-specific globals