added check for script loading
bookmark repository
freemind format code cleanup