TextBlock: layout_helper: catch exceptions and display them inline

Handle errors in TextBlock syntax gracefully.