Freed some global variables from dynamic memory management (some strings).