Don't show ugly warnings when someone pushes enter in console

It won't break anything, but the errors are a bit ugly.
Merge pull request #3 from herwinw/console_log_whitelines

Don't show ugly warnings when someone pushes enter in console