Fixed a bug with creating thread.
Updated the error page to include HTTP code.