Removed unnesseccary resources. Fixed some warnings.