Fixed a bunch of lint errors in code and resources