ik12stats and lots of table tweaks