Put in some null checks that fix crash bugs in flixel-ui when popups close (closing a FlxSubState in response to a button click can lead to situations where an object is destructed halfway through its update function, leading to null reference errors)