SetPlayerHandicap is bugged and suffers from rounding errors even if set to 0, sometimes granting units 1 xp.
The best way to turn of XP gain is by adjusting game constants and triggering all XP gains manually.
Why do you want to set creep level over 1000? If you need that many levels, you should definitely re-evaluate your map design to make individual levels more meaningful.