To fix the max_patches_error...
Try to scale up the non-visible textures to sx 100 and sy 100 (e.g. skybrushes, clipbrushes, hintbrushes, basebrushes).
Try the normal final compile, no fast vis and no high quality final compile.
If that doesn't help, change chop and/or texture size of the visible textures (e.g. gras, ground, wall, rocks).
I'll have a look at the mapfile soon.