Correctly curry arguments on second emit for worker.port.emit
Fix emit/postMessage to correctly handle multiple arguments
Remove unused flatten method