General formatting and compatibility update, nothing changed internally yet.
Typo fixes, code improvements and small stuff.