Fixed memory leaks
Began version 0.9.5
Merge branch 'master' into sailfishos