Fix error on spaces in path and improve complete.

Complete now uses the names of sibling files for suggestions.