More response to Elliot's comments

* switched to sysctl -n in order to avoid having to parse out an integer
* renamed pre-existing 'memfree' variable to 'memFreeInKB' to make its
  implied units clearer.