improved stability,  added version info