Fixed chmod of files.
Trying to make selection works while linking with rangy.
Seems to work this way.
Fixed how selection behaves when doing links.
Make sure rangy.saveSelection marks are not visible.
Made sure autofocusing of dialogs work.