Changed affected in Enity to hashtable with reference count.  Fixed path loss calculation.  Fixed unnecessary View creations.