ExternalInterface fixes