Updated to OS X 10.7 Lion.

Updated project to Xcode 4.3 standards.
Corrected/removed invalid element scaling property references (or reset
to the default values).
Corrected/removed deprecated member references throughout.
Corrected/removed deprecated method references (mostly relating to
NSOpenPanel).
Rewrote inRangeScriptChange and outOfRangeScriptChange to function in
lieu of deprecated methods.