Swath of changes, improves interaction with GC.

Also adds is_synced_on status call.