revamp this script

Now only adds accents to the letters that would normally get accents, as listed in the array specialChars. Also immediately changes accents and tremas to apostrophes and quote marks, respectively, instead of waiting for the next keypress.