-Registering / Deregistering / Invoking of handlers is now thread safe.
-Small fixes.