changed resource creation to take this ptr instead of context ptr. Removed
context arg from Material::CreateUntracked. Made untracked resources have an id
of zero instead of an id of garbage. fixed mat doc comments to use new res_buf method names.