Fixed a number of incompatibilities in OEM icons/cursors handling.

14 files changed