HUD is now an object.
LayerItems is added to define generic ways of handling items on a layer