add missing xml closers, add fix for folder bug, add roundoff fixups