vector search bugfix, -gpu-preferred-platform-number option, some changes