Make sure vmMain is the first function so QVMs work