Cleanup: Initialise gState to NULL
Issue#146: Tell modelesim to do global resolution of symbols from libgpi.so