ThywinLib updated

Replaced throw std::string with better exceptions