Merge development changes in for 1.3.0

This pull request collects changes for hltd version 1.3.0.

Isses #19, #20 and #21 are addressed with commits.
Other minor changes and bugfixes are included and described in commit logs.