arrg I'm stupid the readme dated before this post has a misplaced line, (i can only bliam lazyness, copy paste and doing html in notepad

)
}
dostatesaveXP(itemID,1);
should read
dostatesaveXP(itemID,1);
}
This should fix the save problem.
Please do not use starbug's attachment as it contains this error, I have changed the name and fixed the above error in the attachment on the first post.