added debugging statement
set debug=true
disabled status logger
catch error
fixed multipart bugs