Fixed xml formatting.
Fixed open file to use existing methods.
Fixed reload to use existing methods.
Fixed whitespace.