Tuned CPU usage on main lop and RakLib