Reinstated findNameHashesByText method, and fixed a bug in ArrayBuffer.indexOf
Fixed typo