Updated project settings and fixed warnings