Judges grilled on courthouse security, capital pun