Replaced function not available on 10.8.

Fixed some pre-processor warnings.
Added menu item and keyboard and key equivalent `⌘F` to focus formula search field. Removed deprecated functions.