Fixed some error handling, made devicebyHostname work better
bumber version