various bug fixes, stable release