Fixed pyinstaller issues on windows with hacks
added num exemplars to names tree