Fixed main thread support.
Added support for main run loop.
Fixed GSRegisterCurrentThread() function to correctly handle GC and multi-threaded notification.
Fixed +[NSThread exit] for default thread.
Added check for libdispatch with GNUstep runtime support.
Added libdispatch runtime initialization.
Added support for libdispatch main queue in the main run loop.