I seem to have screwed up the IDE!!!

Everything was working fine with Unos. Then I started playing around with a Leonardo with a knockoff Yun shield attached. I was having problems and followed a suggestion to edit the boards.txt file. Then things really went haywire!!! I then thought I would unintall the Arduino software and reinstall. Still having problems. The IDE shows "Arduino/Genuino Uno on 192.160.240.1" This cant be correct as this is the address for the Yun shield The IDE sees the Uno and port 13 but I get the following error

Arduino: 1.6.6 (Windows 10), Board: "Arduino/Genuino Uno"

Warning: platform.txt from core 'Arduino i586 Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
Warning: platform.txt from core 'Arduino i686 Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
Board Intel:i586:izmir_fg doesn't define a 'build.board' preference. Auto-set to: I586_IZMIR_FG
Board Intel:i586:izmir_fd doesn't define a 'build.board' preference. Auto-set to: I586_IZMIR_FD
Board Intel:i686:izmir_ec doesn't define a 'build.board' preference. Auto-set to: I686_IZMIR_EC

Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: ser_open(): can't open device "192.168.240.1": The system cannot find the file specified.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Any suggestions would be appreciated

Latest bizarre turn of events is (not sure how it happened) but if I use the Redmond Siri (Cortana?) type in Arduino then the old Arduino shows up (1.6.5) which recognizes everything even though it doesnt show up in apps or on desktop !!! I'd like to just use Linux but I cant weem to get an up to date version installed

Reinstalling The Arduino IDE will only affect the IDE install folder so if the boards.txt file you edited was in the C:\Users{user name}\AppData\Local\Arduino15\packages\arduino\hardware\avr{version number}\ folder then reinstalling the IDE will not revert your changes. The reason changes to that folder don't affect 1.6.5 is that IDE version uses C:\Users{user name}\AppData\Roaming\Arduino15\ instead. You can delete the package and then reinstall it in Arduino IDE 1.6.6 using Tools > Board > Boards Manager.... It's a good practice to back up files that you are experimenting with to make it easier to revert changes.