revert r9781
add RunAsync(std::function<void()>) and use it instead of std::thread to avoid dealing with exceptions that std::thread apparently might throw; fixes the build
add latvian language