correct cleanup of Models/geometry and all EntityItems for various cases