* create dist directory
* better detect finished dist building
* package nw.pak for needed node modules