Fix all warnings from build process.
First run fixes/additions.

- correct the behaviour of first run to display a terminal window after closing the first run window
- display a warning if the Restore feature of Mac OS X is disabled