curses GUI

Regular Expressions are now raw strings which is proper according to python spec.
It causes better syntax highlighting in my editor as well.
I'm going to test this for a while and merge after I'm convinced it is equivalent.