Corrected the buffer that is used by the GCAdapter thread.
Removed redundant code from the GC Adapter interface.
Merge pull request #1712 from skidau/GC-Adapter-thread-fix

Corrected the buffer that is used by the GCAdapter thread.