Added debug, changed menu API, develop .der[]