persistent window visibility and position