readded globals with different semantics. they are needed for some widget states (file and picture loader)