Removed prefix tree support for the console mode as it isn't GPLed.