Bump version up to v0.40.11
Add main windows globals and add padding to align world.
Run the automatic struct size check.
Add linux offsets.