Feel free to check if any of these changes are worth adding upstream.

I'm deleting my fork because it's obsolete, and many of the improvements have already been added to your main repo anyway. However, in case you spot something that's missing, feel free to take a look. That's what this PR is for; it's not meant to be merged outright.

Most of it is just whitespace and formatting related. And using "path/filepath" instead of "path".