Finalized the generic way of GraphicalEntity

The crashbug with depot still persists