changes to make better operation on windows XP 32 bit