Convert ola_uni_stats to our flags and some minor flags improvements

Done.