Removed global for storing fonts in use. started refactoring based on runrevmark suggestions.