Bug fix: wasn't incrementing samplesProcessed, also cleaned up comments