Now first thread test works
Eliminated warnings
Minor cleanup
Adding GC
Fixed synchonizing on object