Add appletloaded function to initialize variable goose correctly so that firegoose can get the non-null goose variable