kind of fixed a bug when editing a project panel, though the whole thing probably needs to be re-worked