General: Fixes non-debug compilation on windows
General/MessageDirector: Adds in-memory performance test, and a few optimazations
MessageDirector: More performance tweaks