fixed invalid frees
added more tests, decided to go with math symbols after all, changed other charTags, frameWait is now a function pointer. When running in valgrind, the first loop, and only the first loop triggers the 'timeWait<0' error even at low frameRate, but this does not happen outside of valgrind.