Haven't checked your project but couldn't you just set in your process_globals
Code:
Public notVisiBL As Boolean=true
?
I ask this because I see that visiBL and notVisiBl both start with false, while in your subs I see that they get the opposite value.