Revert "start fixing memory leaks"
Merge pull request #12 from qute/revert-11-wip/fix-memory-leaks

Revert "start fixing memory leaks"