Some of my patches i think are good enough for sbcl/master

This is my first pull request, so feel free to educate me if i don't adhere to some standards...

I'm using these patches for years (although they have only slightly been tested since the latest rebase).