restructured to let html carry the information. Display is only for startup check.