removed unused graphics initializations from EM engine