(Big) Lot of small changes.

Just read the titles of the commits to understand the changes. By no means I will now write a list of what changed, way too many changes!