core: fix restoration of core buffer properties after /upgrade
core: add option -all for command /buffer hide|unhide