Fixed a couple of memory leaks. Documented todos for ISO parser.