fixed wrong interface being picked at startup. changed how putty window is closed