Yeah it seems like there's still a bug with the mouse lock feature so I'll have to make another patch.
To set the camera's pitch range you can change mv3d.blendCameraPitch.min and mv3d.blendCameraPitch.max, just keep in mind that any changes to those values won't be saved with the save file.