Version 3.51

Many small fixes and small enhancements