progress on resources + block macros; fix toc bug; add uri, fetch scaffolding, and b64e to sirsem