Added logic for playing forward and reverse within loop marks.
This fixes issue #1