Yes, a statistics function was erroneously left in the script - please comment out lines 156 and 157 in default.c:

if(pX_stats)
num_bodies = pX_stats(1);

- We still can not reproduce the 2 other problems reported by Iglarion and Superku, and would appreciate an example project if the problem is not disappeared meanwhile.