update version to 3.1.1
linting for protocol handler
add option to open pdf in Skim for mac