fixed variable collisions, issue with lineOpacity, streamlined code to eliminate unnecessary variable definitions for gui elements