Lemme get this straight. Gunfire rang out in the holding area and, as officers "rushed" to see what had happened, the perp had enough time to get dressed.
No gunfire in the holding area. He beat the guard badly and took her police belt with her gun, radio, handcuffs, etc. He didn't start shooting until he reached the courtroom.