Fix search path. Replace VLA with std::vector. Remove SectorEffect code
Fix warnings. Add mxmath.h