Add escaping of % and correct rl_getc.
Add .spyrc, color mask, and ignoremask support