Various small fixes and documentation improvs
Many fixes, nnot yet final