Header is now successfully fetched.
Fixed lotsa small errors.