BS: Fixed a long-standing midi file reader bug. This thing could almost be useful now