@stdevAlDen commented on Apr 16
The function next_matrix can fall down in invalid state as valid assignation for num depends on the word_index its value.
In addition the display_choices wants an int but num is a uint32, this should be checked.
This requires more analysis.