Added better error response system, can log to pastebin.com