Fixes whitespace issues across the application.

Also updates the Licence and README.