Restores length limitations
Adds an isAllStopwords check
Implements improved scoring for #20.