Fixes for several issues: 8583, 9211, 9213, 9060, 8598, 2729, 10086, 9212, 8549, 9194, 7882, 10410 (in part, related to windows zp)