Beta rel. 14. Lots of fixes and some speedups