AstralWanderer: Thanks for the update.
Since we're talking about the refinery screen, I'd just like to mention one other problem - this is more of a display glitch than a bug, but when the amount remaining of an ore hits zero during refining, the value shoots up to nearly 5,000, see attached screenshot (where it happened with Silica and Potash).
I hope this helps: When refining with NO extra ore, I encountered something too odd to be coincidental. The final ore that I refined had a calculated value of 112. As soon as it completed, all the numbers went weird, with the first one having a calculated value exactly 28 times the last one. The second was 28 times the first, the third exactly 28 times the second, and so on until the number got so large it just reported "infcr" which I assume stands for "Infinite Credits".
I also notice that the calculated value of a refined ingot is 28 times as high as the base value of the ore from which it's refined - so that's likely where the 28 comes from. But instead of multiplying the base value by 28, it wrapped around from the end and multiplied the ingot value of the previous entry until it exploded. As I said - weird.
Of course, the numbers don't always increase exponentially... it may have only done so in this case because no ore had any left-overs. Having a non-zero value in the final column may halt whatever bug is causing the display glitch and having NO non-zero values causes a catastrophic error.
I also notice that in the previous attachment, the potash and silica calculate at 4984, which is exactly 28 time 178 - the value of Praseodymium, which would not have shown up in the list since it cannot be refined. However, if it was in the cargo bay after Zeolite, the glitch might be using the value of the last ore in the cargo hold instead of the last ore in the refiner list.