Update error handling and python's unicode sh*t