improvements in top level window management