Prison officers were attacked by an inmate who began to trash his cell because he "wasn't coping" with life inside.
Two men have appeared in court charged with the murder of Ross MacGillivray (36) in Inverness just over a week ago.
"You are heading to jail if you carry on like this. It is very dangerous," Sheriff Eilidh Macdonald said.
CCTV, number plate recognition software and other surveillance 'tech' could be used, it has been reported.
"He was overcome with emotion. He didn't realise what speed he was doing," heard Inverness Sheriff Court.
He landed a driving ban and a hefty fine as it emerged it was his second drink-driving offence.
Home Bargains, Morrisons and a Co-op were targeted.
The 35-year-old admitted not informing the police of a new bank debit card he possessed.
A sheriff described an Inverness man who had continued to download child porn and be caught by police as 'either stupid or determined'.
CCTV footage from Dalneigh and other parts of Inverness is being inspected in a bid to track down two men.
Inverness Sheriff Court heard he had received VAT repayments from HMRC which he was not entitled to from 2014 onwards.
A wrap of cannabis was found in the attacker's underpants, heard Inverness Sheriff Court.
Inverness Sheriff Court heard that on other occasions, he threw a basketball at her, struck her head off a wall, and verbally abused her.
His campaign of abuse was related in court this week. He will be sentenced next month.
'Charges show a repeated and sustained course of conduct towards anyone that you take exception to or hate the colour of their skin,' sheriff said.
A passing traffic warden filmed what happened on his body-cam.
She also admitted shouting and swearing at police.
A thief was jailed for six months at Inverness Sheriff Court after admitting stealing £299 worth of food from Marks and Spencer's in the city.
The 16 and 17-year-olds, who can not be named for legal reasons, appeared at Inverness Sheriff Court on Thursday.
"You are getting into territory that some kind of intervention will be required if this behaviour continues," warns sheriff.