Add const modifier to `intern` and `referGlobal` methods
Add method to get standard stream
Check whether an object is marked in one place
Create `printCallStack` method
Modify definition order
Update nextGc counter after garbage collection