I don't know if it's a glitch, but I read before (somewhere, can't remember) that sometimes the price of paintings can go up if you leave them on the wall for a while and don't sell them, and even when the painter dies. So I assume this could happen with inventions too, but I don't know how much the increase is. And about your mysteriously completed invention, I don't know about that one.