See #186. Potential fix for false positive unhandled rejection when using when.all/map
Cleanup code workaround for updateStatus() and false positives
Move then() to prototype, since it can be generic now. More cleanup of updateStatus