Since third-party code may not be loaded from the web in an extension, requires bundling many GeoGebra app files into the extension. Still to come: control panel for the extension.