Comments and prototypes added.
Comments, prototypes and build breaking typos.