[major] rewrite action counters, fix reliability, increase speed, cleanup some