several fixes
Merge branch 'develop' of github.com:opencb/jsorolla into develop