boardsmanager.additional.urls=http://arduino.esp8266.com/stable/
@Gunner 2.30. Thanks. will try 2.40.
@Gunner @Costas problem solved. Thanks a ton. 2.30 core was the problem. Also got to set my serial monitor baud settings to 115200.