We already have reference behaviour, so this is not necessary. This change highlighted fairly baroque architecture in mql that deserves some attention; the use of channels is somewhat confusing. Also rename LastResult to Result.
Also reduce API exposure and use standard library more - and fix bugs I previously introduces in mongo.