RE: Buggy engine turning off...
It could have vapor locked. Check the temps, if they hover around 300F or above when it shuts off then it's likely it's boiling the fuel coming in and can't compress the resulting vapor.
If it is overheating, cutting some vent holes in the bodywork should fix it. If it's smoking it's got ample fuel and oil flow, so that's not a concern.