use synchronous addLayer() if 'chunks' not specified, added done callback