Updates.

Bug fix in the notification control.
Added registry methods.
Added a thread safe form.