Fixed converting of midi track.
Timing still needs to be fixed.