better logic for keeping text field visible.
more standards compliant way to handle splash screen