Remove Ted and clean up some files.