Debug: move constants to settings and add a few more stats