fixed move-to-bottom shortcut. exported a few session vars