Use the same logic in ThreadViewer to apply greentext in the board view

Related to #381?