rename options.maxImageSize to minIconSize throughout