(slightly) better regex library
some cleanups and begin setting up emacs compile file...