checkpoint ... working on spawnWindow logic
tidy up CMD-C spawn window implementation for navigation