fixed some annoying reorder warnings
global max speed via cmdgw
some annoying format warnings and debugging