Might make sense to put all those variables into a struct and then have a single static instance of that struct and access members this way (purely from a style perspective, shouldn't make a difference runtime-wise).