* add mblookup command * remove debug commands * mblookup: replace sys.stdout.write with print * minor formatting fixes