Add loading dialog on API load (after start or restart).

ref #47