fixed deleting graph on aborting open dialog
deleted unused files