fix reported bugs and improvements. also update to latest version