Added min_weight option to lastgenre, to provide for filtering out unpopulare genres.