Reduced almost all warnings, there are still some [nodiscard] warnings and templating warnings that seemingly cant be fixed without breaking the project.
Changed order of multiplication to explicitly use proper format for scaling resolution (for safety)