If we only add the leaflet-tile-loaded class when an error is not encoutered, the tile will not show a missing img box in the browser.  We can leaf the tileload event outside of the statement so it always fires whether or not the tile is loaded successfully.  That way any logic in the tileload event that needs to run even if the tile is not loaded correctly will still fire