Fixed small bugs and added error message if loading fails. Also, modified urls to fix missing trailing slash issue.