Fixing issue #27.

I missed that we return from execute if the user supplies invalid input.
This fix fires the done event immediately after emitting the invalid
input error message.
7.4.7