Problem is when you start from the "Start" layout, the text instance doesn't exist yet, so "getFirstInstance()" returns null. When you try to use your global variable "statusTextInstance", it then fails from a null reference error.
What you could do is simply set the global during the start of the "Print" layout, or using the "on created" trigger of the text instance.