lot of fixes and cleanup
Merge branch 'master' of https://github.com/Styren/adk