Fixing issue with the last block in the commandline (API should be clearer)

Improving API for merging - now it should be clearer that it is async.