dump context to console only in debug mode
dump context to console only in debug mode
fixes object cleanup
Merge pull request #11 from mediapeers/ticket/object-cleanup

Ticket/object cleanup