Added API for expunging entity, wired up jsgui to expunge api
Deselect entity when it's expunged