Solved internal/ui sync issues and added complete the midi generator