Added check for if the buffers are empty to help speed up dispatch in
World.