Avoid using dict.get() when catching KeyError exceptions
Better command completion with readline

Now handling commands from name spaces other than the default one.