i did some experiments and found out that ph_setcorrections(60000,0.01); reduces the problem to a minimum (i only succeeded in penetrating the walls if i really tried hard). you should definitely do some traces and stop applying a force when the ball tries to move against a wall.

and that the ball starts spinning at all is really strange we should ask marco about why this can happen because it's quite unrealistic...