Fixed the flashing behavior, and got rid of the string manipulation stuff.

this fixes #8. I'm not a Lisp wizard, so feel free to comment on things I could do better.