This version sorts out my Atom/state woes enough to let me have a resizable window in my sample app. Baby steps.