Added some text rendering to dialogueframe

Includes test functions