handled dll missing exception; app closes correctrly now