firstBufferedTemplate = bt;
templateBuffer->head = bt;
void bufferTemplate(BufferedTemplate* bt) {	destroyBufferedTemplate(bt->sourceID, bt->templateID);	bt->next = (byte*)firstBufferedTemplate;	bt->expires = 0;	firstBufferedTemplate = bt;	}