Explaination of the ending.
Cadet David Shawn received information from the Pre-Cogs that Colonel Kirby and some of this soldiers were about to engage in some future crime, and they had to be stopped before they could commit the crime.
That is why he said it was "beautiful". He was referring to precrime justice.
_______________
A dope trailer is no place for a kitty.