QEMM handler now uses local stack