Isolate all window-system specific config.
Add some documentation notes for note.
Only add macports dirs to path if they exist.
Merge remote-tracking branch 'origin'