1. Added DocumentListener to CrTextMain. Its function is to scroll to the bottom of the JTextArea when any text is added, altered, or removed.