Added logging in the ModBlocks file. Fixes #1.