It's resolved. It was actually a minor bug in the PLC I/O driver.
The OP was trying to recover image register memory everywhere possible and reduced X allocation to 32.
Interesting, when does the OP find out? 
Sorry, checked my Spam folder, there it was for the last week. Y'all and your Microsoft powered email addresses...
Lol...Sorry. I sent out the answer and never heard anything else. That generally means the issue is resolved.
Please confirm the fix, but pretty sure that will fix it.