State machine enter/exit - call only 'gl' functions instead of wrapper
'sgl' functions