Do not call removed strip_leading_slashes function. #10
Modify a check for an opened file. ST3 seems to return an active view even if there is no opened files.