Fixed a few things with MessageCenter and threads