Add thread names to the registergui threads.

The default name for the main thread is "MainThread",
so stick with that naming convention.

Add the names to make debugging and logging a little
easier.