midi sample reso + reopen UI bugfix