Fixed typos, promoted garbage collection to a public method, updated tests and README