Smarter GC control

can also query for GC status, fixes #2