split initialization into init_curse, init_ui...