move state setup for display mode into init()