Added a garbage collect after initialisation of objects.
Deleted printing.h.