Set the text on the mini editor after attaching

This ensures the display is updated correctly when first displayed.

Closes #170