memory bug fixes
Merge branch 'master' of github.com:droidlabs/motion-prime