Bunch of small refactorings, some UI tweaks to stock display, and general work on supply-and-demand and special orders.