Updated version for 1.0.
Fixed missing quote on require string.
Imported 1.8 thread.rb.