Made some changes to the way graphs are displayed