Stats cleanup
Rectified java escape