Refactor CGUIWindowManager::DispatchThreadMessages() to be a solid
thread message dispatch and process method.