fixes #841 -- "Image Insert Breaks on FireFox" (there was a problem at getPluginUrl in core.js)
fixes the query method in linklist.js to show the correct links for each folder