Fixed a critical bug (opening files/links totally didn't work).