Added a function that resets each global to their default values.