Bug fixes

 - Upload: reenable slides tree after fix  in  adapter
 - socket handers.js: fix variable reference