Fixed a couple bugs with removing entities.  Removed the removeNamedEntity function.