Fixes to TotalFreedommod.java after merging with the main branch (Caused a shit storm)