That one was nasty. It was 2 problems. First I forgot one of these types of things:
buffer = new unsigned char[1024];
So some memory was being written over. Also, I fixed the excessive width problem - I just had to copy the trimmed width from the cicn to the pxm#. I was using the untrimmed width, which includes the padding. The inactive document window frame should be done in a short period of time now. I'll post it as an edit if it's quick enough, otherwise I'll just make a new post again.
edit
I spy a glitch in the Ice grow box!



buffer = new unsigned char[1024];
So some memory was being written over. Also, I fixed the excessive width problem - I just had to copy the trimmed width from the cicn to the pxm#. I was using the untrimmed width, which includes the padding. The inactive document window frame should be done in a short period of time now. I'll post it as an edit if it's quick enough, otherwise I'll just make a new post again.
edit
I spy a glitch in the Ice grow box!


