Add asynchronous thread block event

Fix block.xml to be loaded only if BlockBundle is loaded