Rewrite complete_program, remove support for word that has path, handle /;/ separator on Windows