1. actor.js: require client file so we can print line number in debugging.
2. agent.js: print out error message.
3. webclient.js: set detailTimer to true as default.
4. server.js: auto run when agent connected. this is convenient for debugging.
5. stat.js: add getDetails which requires in server.js.