added IdentifyOS() and g:os (mac/linux/windows)