check for missing Windows error code headers (was missing from Mingw64)
fixed printf format warning that occurred with 64-bit targets
Cycles: set hit values in-order
Cleanup
Fix another crash with Navigation mesh.

Navigation mesh object need to access the current scene at
creation time. This can be at scene start or when an object
is instantiated from an inactive layer. The method of getting
the scene differs in these cases. This fix handles both.
Sculpt: update dystopia debug verify
Minor alignment for triangles on number slider widget