Fixes when running for the first time & more

- Fixed some issues when running the extension for the first time.
- Fixed an error message appearing due to trying to use replace on an
undefined variable.
- Added error message when a manga link does not exist. (which was
causing the previous error.)