removed delay loop added beep on win + checkbox