fixes #1593

introduces waitInitialLoad() method for map.
if your mapstore load operation takes time, your map operations can throw exception.
so before your operations call waitInitialLoad()