fixed a few modules according to the new client and API changes
several fixes to make upload work
removed debugger breakpoints