GRIM: Set g_grim to nullptr in the deconstructor
Merge pull request #939 from klusark/grimnull

GRIM: Set g_grim to nullptr in the deconstructor