Scaladoc and various hardening, fixing issues, improvements, see #2895