Remove project when last graph/component is removed, fixes #340