Textcrash

Finally text is implemented in viewer.