Allow space in input.
Removed unused console.