Added stack saving, for shifting windows back/forward without disrupting
place in stack.