Added proper text highlighting, which was a huge hassle and likely has a lot of inefficient code. Also fixed a bug in the data script.