moved invest all / divest all into create_ui()