Add AMDSystemExtension (System.Extension) with an empty System.extensions. According to Pegasus.  Implement a working System.exit() (unsafe).