Significant re-work of reference counters & queues. Cleaned up a lot of
unnecessary ThreadLocals. Synchronized reference counters (GC happens in
a different thread, duh!) Switched to AtomicIntegers for counters.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>