>>>>>>>>>>>>>>
>>The application does use a few global variables
>>Public variables are a bad idea because they break encapsulation.
>
>Global variables don't have to be PUBLIC variables, FWIW.
>>>>>>>>>>>>>>
I've misread the "global variables" comment to "public variables". My fault.