added a check for empty children list
oh, damn those reserved words
unification of adding commands, build update
childNodes are used, not children
Merge pull request #21 from lolbot-iichan/develop

Some bugfixes from lolbot-iichan. Thanks for contributing!