Add null-check in Block.rightClick, fixes #109

Also added docs folder to .gitignore