added test location alert, set shutdown on close setting