cleanup of code to blit screen bitmap to target bitmap for EM engine