Added threading and domain exclusion option.

Also decided to make the Log class static.