Funny you should mention it. We were just looking at this code on Friday using the BitsyX. I think there may be an issue with the VDDPOWEROFF event (looks like it may be set instead of being pulsed, causing it to retrigger in some applications).
I'm going to lock this topic, as it's intended to be a reference page, but we'll give an update here tomorrow about the status. If you want to email us directly with details of what you're observing, that may help, too.