osx helpers and minor cosmetics