Clean project of all warnings.

Also forgot to mention scale filtering is started, but not yet implemented.