Make links relative and fix some charset

Also had EditorConfig running, fixed some indentation and trailing spaces
and stuff.