appState and layout on my Gateway.