Corrected minor issue
Fixed bug in simulator garbage collection. Ouch. But all fixed up now.