Add window size and location session state persistence.