Fix issues running under sh instead of bash
Add note to todo log when doing a branch switch in a preserve merge
Start at handling multiple branches as inputs. Non functional