Improved FlxState.SetSubState method
Added close substate by system detection