First round of adaptation of PB defines.lua

Done in file order, will pick-up from where I left-off. However, most
tweaks are complete, as those are basically the arbitrary miscellany,
and the remainder is almost entirely aligned with PB until certain
countervailing features are ready in EMF.