Added some console.logs and moved infowindow:ready event to after photos are loaded.
New build file.
Started updating to new API.