added support for getting uptime on mac and reporting it properly. code could use some clean up