For desktop application that is. This is just a general question that maybe only need general answers.
I wouldn't care if singleton or global variables are not recommended. If I feel like that is the most logical way of implementing it then I'll go ahead and use it.