Replace all tabs with 4 spaces.
Standardize the license comment and apply it to all the files.
Clean up some Warnings.