added silence threshold and fixed minor typos in utils