Fix PopBackHistory, better implementation of GetEssentials()