Fix some more of the stringification.
Fix variable setting.
Fix indentation, semicolon placement and function prototypes. Add structs and unions.