Merge pull request #12 from hgschmie/master

Remove unused warnings, add SafeVarargs.
local fixes