remove bunch of old, non-s-expression code

hopefully it's no longer needed