add som libs
fix warning with unseted var
Merge branch 'master' of git://github.com/almateos/alma-lib