Fixing hpx::thread to work properly
Some more information in the reported error
Minor edits for test runs