fixes to processbam and naming conventions