I don't quite understand what you did. What does it mean "I've tried it without darks and with darks, and the problem persists."?
From the histograms of the XISF files, "M31_Darks" and "M31_NoDarks" it is clear that no clipping occurred in both files. I don't see black spots in the M31 images either. In "M31_Darks" the standard deviation is lower than in "M31_NoDarks", but I cannot comment on that because I don't know how the images were processed. I think the difference is in the calibration of the subframes but will not speculate about that. If you don't describe your settings in the calibration step for both images in detail I canot tell you any more.
The first image (preview of O3) looks quite different, but neither histogram nor statistics can be applied because it is only a screendump. Again I don't know how the image was processed. You wrote that you tried different settings in the image integration. However, I presume the problem will not be in the integration but still in the calibration.
So what can I say any more? Unfortunately nothing.
Bernd
Sorry about that Bernd, wrote the post in a bit of a rush. What I meant was that I attempted to integrate M31, firstly by calibrating with darks, and then not using any darks; this was to see whether it was my darks causing a problem.
For the processing of the images, all I did was calibrate them in BPP using master dark and master bias frames, followed by registration, and then integration using Winsorized Sigma with the default values of Low 4.000 and High 3.000. I didn't use any cosmetic correction. Someone later on mentioned that there is no need to use bias frames as I'm not using flats; I tried using only a master dark, which did not make a difference.
The black spots and lines tend to be more around the peripheries, and become a lot more obvious in other areas of the image once I've run DBE.
I've added a new XISF to the folder, IC1805_OIII:
https://drive.google.com/open?id=1H6JPMMc8C3C6iUxHBGIhcFquPnEtmzhl. If for example you look at the top right corner, there are quite a few black lines present; once I run DBE, these lines also become prominent in other areas of the image. The image was processed using BPP to calibrate using a master dark and master bias, followed by registration and then integration using Winsorized Sigma with the default values of Low 4.000 and High 3.000. I didn't use any cosmetic correction.
I hope that clarifies things somewhat! Thanks for your help so far Bernd, much appreciated.