add maxFeatures configurable in GFIMenu. close #466