Fix #38, partial fix for #18 and fix for #19

See bugs for details
update submodule
Merge pull request #50 from yaronyg/patch-1

Fix #38, partial fix for #18 and fix for #19
Merge remote-tracking branch 'upstream/master'

Conflicts:
	build.gradle