Add some style to loading, display startup errors (fix #15), get unit tests running under PhantomJS (fix #14)