Overrides: show main app file

Added a startup hook that opens the main application file in case no files
are opened.

Created a public API for embedders, added function buildInspectorUrl().