new tile-detector base class, fixed tile-hist-energy
fixes