Changed the init routine for graphs and altered the way that graphs are edited, which necessitated numerous changes throughout the entire package