Added textbox rendering to graphics

Changes to dialogueframe