Corrected rb Unassigned Var and added or to the apple script

This allows for operation on 10.8.4 and Thinks 2.2.1
Merge pull request #166 from MBuchaus/master

correct things.rb's apple script