Add check for new releases.

Add callback to check for new releases.
Reorganize startup path.
Update some comments.