Code cleanup: Change self.text entries to dictionaries instead of arrays with magic number addressing.