Added handling for if there is no global stack
Added handling for if there is no global stack

CURA-2475

fieldOfView/Cura,hmflash/Cura,fieldOfView/Cura,ynotstartups/Wanhao,hmflash/Cura,Curahelper/Cura,Curahelper/Cura,ynotstartups/Wanhao