Added back/forward buttons and save all current states.