More updates, added batterystat to bin for osx setup.