more improvements and fixes and new bugs
24 files changed