Fix TextBlock constraint not getting initialized.
Moved a bit of stuff around.
Merge branch 'grokys-main'
Better handling of text input. Cleaner switches and logic.