Use thread-id as name when automatically creating rdthreads.
Fixed race condition in timer code.
Added thread-based IO handling. (Work-in-progress)
Added simple LRU.
Added license headers where needed.
Fixed fd leak in rd_file_read()