Pull request for the patches I consider stable

For details, see the mail.
Can you make this noexcept? I am not sure how QString is implemented. Anyway, we should be fine with and without noexcept.