more use of noGui in libmscore