Improved README and fixed a few warnings