Added functions for buttons and labels/titles for the visualization. Issue with lines has NOT been resolved.