clean up some stuff.  xml: create sax parser

Unfortunately, sax parser does not run when compiled with clang.
std::thread and std::regex do not work when compiled with gcc.
I hate how gcc is 3 years behind the latest standard.