Fix leaked globals, closes #3
0.3.3