New MBrace.Core, bug fixes, refactoring