make messages window threadsafe
by hiding the non-threadsafe function as "protected"
and only making the threadsafe one "public"ly available