several small fixes of the API
Merge branch 'master' of https://github.com/Salmito/lstage