Add static to some variables

How come? They're still global vars, no?