closing #6 #7 #8 #9 #10 - implemented a graph with threshold detection and different styles.