At least we should be thankful that the agent had the presence of mind to leave her gun on the shelf in the airport terminal toilet, rather than the shelf in an aircraft toilet. This would have made a complete mockery of all the security inspections that innocent pax are subjected to.
Perhaps the Homeland Security guys should review the body position on which the gun is carried to ensure that merely responding to a call of nature doesn't require downloading the weapon.