Performance improvements. Removed copy of returned matching words. Added timestamps for profiling.