Display better error messages from node server.js

Also, the "server running" message was being displayed too early.
Merge pull request #2060 from AnalyticalGraphicsInc/node-error-msg

Display better error messages from node server.js