Remove bad use of gaGlobalOptions and new generic addKMLlayer function