Added code to do a limited automatic retract of facts.
getObjects command did not retract as I hoped.