new beta version

major improvements and bug corrections