added permutation stats to the menu. TODO: add it to the commandline too.