correctly handle graph button initialization, initial graph deployment; fixes #11