Seriously, taking a soon to be layed off worker to lunch or something is a meaningless gesture unless you lunch with them regularly. The lesson: be this nice to everybody all the time, even when it isn't layoff time.