Block completion list on import declaration name and fix the crash in sy...

...mbol display name when import declaration is incomplete

Fixes #991