Fixed order of commands so that graph is reinitialized immediately after clearning it.  This avoids a broken instal
Merge branch 'new2'