Added support for zeroed sections, and started fixing up user code checks.