New details of the police investigation into the death of a woman have been aired in court as her neighbour was charged with negligent manslaughter.