Additional null checks for FlxTypedButton and FlxTypedGroup

I'm adding some null checks for FlxTypedButton and FlxTypedGroup -- turns out that when you close a FlxSubState in response to a mouse click (a pretty common use case for FlxSubStates I imagine), you can get to a situation where an asset is destroy()'ed halfway through its update() function, leading to null reference errors.