Patches from Fengguo for handling exception.
Added ability to not list some modes.
Added top-level x mode for experimental/internal features.
Added Amandroid in x mode.