All of the following patches are by me. They are provided without any warranty whatsoever, and herewith donated to the public domain.