Investigate ways to improve error handling. Not much error handling is being done right now. Open to ideas on the best way to do this.