Fix splashscreen

Includes Jeff's work in #735, but works on other platforms, and behaves more nicely with template scripts. Formerly, the splash screen was getting closed and the canvas shown _before_ the tools scripts were loaded, resulting in several seconds of pause. Now the canvas is shown after `onStart` has finished, so tools have already loaded.