Localise xpcall

We'll be calling it a lot.