MCore update, bug fix and some debug output that should be removed not just yet.