Support deploying/requiring from npm modules plus improvements in how as...

...ync start and stop is implemented
This line does nothing, __FILENAME__ is not used at all.