Bug fix and make createUuid() work in (older) node environments.
Bug fix and make createUuid() work in (older) node environments.

sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm