Avoid OOBTree.get(None)

Fixes TypeError: Object has default comparison
Fix urlencode on Python 3
Adjust to changed PrettyTable API