Fixed load

Writes tableOfContents, only overwrites cookie when its empty. Ari,
start working on getting the entire XML to load now. We need a dynamic
way to load all the children in. There's gotta be an XML command for it
out there.