Bump version up to v0.40.10
Find main windows globals and run the automatic struct size check.