Add some todos.
Move the match variables into a match_group_t struct.
Refactor the code to decide lockout status.