Patch 1

This is some documentation and comments added to the Mac client for future development. Please add this to the master repo since it is very useful for furture developments.