Removed an unused reference.
Added another overload for the thread safe random class.
Made randomization threadsafe in the builder.
Fixed a variety of compiler warnings in puzzle builder.