[Amibe] BeamInsertion: many bug fixes