added initFinished and hasNetwork check

@aaustin