first steps toward moving BAM to string! plugin