fixed a nasty bash array bug in MergeBam and some minor changes
Merge pull request #157 from RoanKanninga/master

fixed a nasty bash array bug in MergeBam and some minor changes