Implemented Apple-specific GetMemoryUsage.
Updated coding style to match ours.