Auto-complete changes

Pressing 'Space' key now closes auto-complete list and enters space.
Print suggestion together with the error if global fails.