Updated Core to handle the specified active graph being invalid
during deserialization. In case that happens, emit an error to
the console and set the active graph to be the root graph to
make such erroneous graph loadable.