updated language load and removed commented lines

some cleanup
fixed XML viewer- synlock

removing the XMLNS string on manual edit
added synlock on logfile access
Merge pull request #13 from msavazzi/master

xml fixed