Complete documentation for parts of the code I worked on.
Fix Linux build