fix python syntax errors
print debug traceback with all a10 exceptions
refactor bug fixes, get lb_test working