Make full screen switching more robust. Add in/out traces.