Added some debug stuff + workaround for unmodifiable set

Signed-off-by: Niklas Ekman <niklas.ekman@gmail.com>
Fix issue with two-number versions eg. 5.0
Fix issue with two-number versions eg. 5.0
Merge branch 'release/1.0.1'