finally fixes the functions and aliases that didn't work on mac, they should be mostly cross linux/mac platform now. Adds a few new functions and cleans up some older functions that were badly done. Updates readme