fixed strings for printing stats and other bug fixes