More organization and initial text drawing widget

Had to do some fanaggling, but I managed to give the text viewing
object access to the documents hosted in the application_data.