Replaced Gestalt() (deprecated in 10.8) with sysctl()

Removed compiler warnings by replacing Gestalt() calls for CPU frequency and physical RAM.

(Thanks for making feedbackreporter available - it's great!)