Added "fresh launch" logic to control hiding & unhiding of elements.