Added inserting text, cleaned up other sections.