Added legal and warranty. Style tweaks.