stable version, most bugs fixed