Adds working-directory tips to ide.md, and relevant sections of the code...

... to help resolve 'gui not available' issue