Clear node properties box when loading graph.

Clear node/link selection and properties drop down box when loading
files.
Restore previous graph when fail to load.