XpLevel is more accurate
Coins is never used
Removing more unused vars
Using 'var' everywhere

Used implicity so the type is implied