Fix building when XML is enabled
Add error handling to LMU and LSD Writer. (LDB and LMT already had)
MSVC update
Merge pull request #27 from Ghabry/master

Add error handling to LMU and LSD Writer