* General code clean up + mac code comments / docs added.