update README, fix a few warnings.