Mark Materials list as 'extern'
Remove unused 'block_allocate' method
Fix printf to display unsigned integer