Started to neaten up morpheus error handling