(OSX) platform.m - cleanups