Text change detection

Picks up on characters typed in mainTextArea and prints them to the log.