Changed indents to 2 spaces
Fixed bug where space in expression '; text' would not be trimmed
Fixed bug with sandboxing when opening files from Applescript