Make it easy to test with tsapp via test.html
Only load status information if we don't already have it.

(borrowed from replanadu)