Add support for more garbage collection statistics
memory leak checks in paren, minor bugfixes