Removed more FreeDOM and code cleanup.