added easier window management