Set startup base path after all files have been opened.

There were situations before where the opening of a file could mess with
the base path, thus replacing the base path away from the current
working directory.
Add waffle.io badge.